package com.liuyz.demo1;

class AA {

    {
        System.out.println("AA 普通代码块"); //5
    }

    public static int a1 = m1();
    public int a2 = m2();

    static {
        System.out.println("AA 静态代码块"); //2
    }

    public AA() {
        System.out.println("AA 构造器"); //9
    }

    public static int m1() {
        System.out.println("AA 静态方法"); //1
        return 100;
    }

    public int m2() {
        System.out.println("AA 普通方法"); //6
        return 200;
    }
}
